export const sendActions = (data:{title:string}[]) => {
    return {
        type:"set_breadcrumb",
        breadcrumb:data
    }
}

export const sendTheme = (data:string) => {
    return {
        type:"set_theme",
        theme:data,
        isThemeColor:data === "light" ? "#fff" : "#000"
    }
}

export const sendThemeColor = (data:string) => {
    return {
        type:"set_isThemeColor",
        isThemeColor:data
    }
}
